﻿using System;

namespace HYFamilyLibDataManager
{
	public class FamilyForSelect
	{
		public CategoryForSelect Category { get; set; }

		public DbFamily Family { get; set; }

		public bool Selected { get; set; }

		public FamilyForSelect(DbFamily family)
		{
			this.Family = family;
			this.Selected = true;
		}

		public override string ToString()
		{
			return this.Family.Name;
		}
	}
}
